package com.bush.mall.order.service;

import com.baomidou.mybatisplus.extension.service.IService;

import com.bush.mall.common.entity.Result;;
import com.bush.mall.order.entity.OrderReturnReasonEntity;

/**
 * 退货原因
 * @author RUN
 * @date 2022-11-29
 */
public interface OrderReturnReasonService extends IService<OrderReturnReasonEntity> {

    public static final String BEAN_ID = "mall.orderReturnReasonService";

    /**
     * 分页查询退货原因列表
     * @author RUN
     * @date 2022-11-29
     */
     Result queryForPage(Integer current,Integer size);


    /**
     * 创建退货原因表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result saveOrderReturnReason(OrderReturnReasonEntity orderReturnReason);


    /**
     * 修改退货原因表单对象
     * @author RUN
     * @date 2022-11-29
     */
     Result updateOrderReturnReason(OrderReturnReasonEntity orderReturnReason);

    /**
     * 删除指定ID的退货原因
     * @author RUN
     * @date 2022-11-29
     */
     Result deleteOrderReturnReason(Long id);

}

